Telegram Group & Telegram Channel
Задача для новичков.

Создайте функцию, которая принимает список словарей, содержащих бюджет отдельных лиц, и возвращает общий бюджет

Пример:
get_budgets([
{ "name": "John", "age": 21, "budget": 23000 },
{ "name": "Steve", "age": 32, "budget": 40000 },
{ "name": "Martin", "age": 16, "budget": 2700 }
]) ➞ 65700

get_budgets([
{ "name": "John", "age": 21, "budget": 29000 },
{ "name": "Steve", "age": 32, "budget": 32000 },
{ "name": "Martin", "age": 16, "budget": 1600 }
]) ➞ 62600

Пишите ваши варианты решения в комментах. Варианты решений будут завтра.

#новичок #coбес



tg-me.com/pythonturboru/382
Create:
Last Update:

Задача для новичков.

Создайте функцию, которая принимает список словарей, содержащих бюджет отдельных лиц, и возвращает общий бюджет

Пример:

get_budgets([
{ "name": "John", "age": 21, "budget": 23000 },
{ "name": "Steve", "age": 32, "budget": 40000 },
{ "name": "Martin", "age": 16, "budget": 2700 }
]) ➞ 65700

get_budgets([
{ "name": "John", "age": 21, "budget": 29000 },
{ "name": "Steve", "age": 32, "budget": 32000 },
{ "name": "Martin", "age": 16, "budget": 1600 }
]) ➞ 62600

Пишите ваши варианты решения в комментах. Варианты решений будут завтра.

#новичок #coбес

BY Python Turbo. Уютное сообщество Python разработчиков.


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonturboru/382

View MORE
Open in Telegram


Python Turbo Уютное сообщество Python разработчиков Telegram | DID YOU KNOW?

Date: |

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

Python Turbo Уютное сообщество Python разработчиков from de


Telegram Python Turbo. Уютное сообщество Python разработчиков.
FROM USA